n = 2 + 1
# 多变量赋值
n1, n2, n3 = "你好", 10, [7, 7, 7]
print(n1)
print(n2)
print(n3)
# 多变量赋相同值
a = b = 100
print(a)
print(b)

n = 7
# n = n+1
n += 1
print(n)

# a = 15
# b = 15
# print(a == b)
# print(a != b)
# print(a < b)
# print(a > b)
# print(a <= b)
# print(a >= b)


# a = 1
# b = 2
# c = 3
# print((a < b) and (b < c))
# print((a > b) and (b < c))
# print((a > b) or (b < c))
# print(not (a > b))
# 优先级: not>and>or 如果想提高优先级加()

# if 9:
#     print("老师真帅")
#
# print("再见")
#
# # 面试题: is 和 == 的区别
# a = [1,2,3]
# b = a.copy()
# print(a)
# print(b)
# print(id(a))
# print(id(b))
# # is 比对的是id存储地址是否一致, ==比对的是值是否完全一致
# print(a is b)
# print(a == b)